﻿<!DOCTYPE html>
<html>

<head>
      <title>后台管理系统 </title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <link href="__SKIN__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
      <script src="__SKIN__/js/jquery.js"></script>
      <script src="__SKIN__/js/jquery.form.js"></script>
      <script src="__SKIN__/js/jmzhfsform.js"></script>
      <link href="__SKIN__/font-awesome/css/font-awesome.min.css" rel="stylesheet">
      <!-- Latest compiled and minified CSS -->
      <link rel="stylesheet" href="__SKIN__/bootstrap-table/bootstrap-table.min.css">
      <!-- Latest compiled and minified JavaScript -->
      <script src="__SKIN__/bootstrap-table/bootstrap-table.min.js"></script>
      <!-- Latest compiled and minified Locales -->
      <script src="__SKIN__/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
      <link href="__SKIN__/css/admin.css?v=1" rel="stylesheet">

</head>

<body class="gray">



      <div class="formpanel">

            <div class="formtitle">修改管理员</div>
            <form class="form-horizontal" id="form1" method="post" >
               
                  <div class="hr-line-dashed"></div>
                  <div class="row">
                        <div class="col-1">
                              名称：
                        </div>
                        <div class="col-2  ">
                                <input type="hidden" id="id" name="id" value="{$info['id']}">
                              <input type="text" class="form-control forminputsm" id="username" name="username" value="{$info['username']}" required>
                        </div>
                        <div class="col">
                              <div class="myformrow_hint"></div>
                        </div>
                  </div>
                  <div class="hr-line-dashed"></div>

                  <div class="hr-line-dashed"></div>
                  <div class="row">
                        <div class="col-1">
                              新密码：
                        </div>
                        <div class="col-2  ">
                              
                              <input type="text" class="form-control forminputsm" id="passwordnew" name="passwordnew" value="">
                        </div>
                        <div class="col">
                              <div class="myformrow_hint"></div>
                        </div>
                  </div>
                  <div class="hr-line-dashed"></div>
                  
               
                 
                  <div class="row">
                              <div class="col-1">
      
                              </div>
                              <div class="col-2 center">
                                
                                    <select name="roleid">
                                          {foreach name="rolelist" item="v"}
                                          <option value="{$v.id}"   {if $v.id==$info['roleid']}  selected {/if} > {$v.rolename}</option>
                                          {/foreach}
                                    </select>

                              </div>
                              <div class="col">
      
                              </div>
                        </div>

  
                  <div class="row">
                        <div class="col-1">

                        </div>
                        <div class="col-2 center">
                              <button class="btn btn-outline-primary  " type="submit">保存修改</button>
                        </div>
                        <div class="col">

                        </div>
                  </div>
            </form>

      </div>


      </div>


      <script type="text/javascript">

            $(function () {
                  formsubmit('form1','edit');
            });
      </script>


</body>


</html>